package com.eam.asset.file.domain;

import java.math.BigDecimal;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.eam.common.annotation.Excel;
import com.eam.common.core.domain.BaseEntity;

/**
 * 房屋资产档案对象 asset_house
 *
 * @author tzf
 * @date 2023-10-31
 */
public class AssetHouse extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 房屋资产id
     */
    @TableId
    private String houseId;

    /**
     * 资产名称
     */
    @Excel(name = "资产名称")
    private String houseName;

    /**
     * 资产地址
     */
    @Excel(name = "资产地址")
    private String housePosition;

    /**
     * 资产来源
     */
    @Excel(name = "资产来源")
    private String houseSource;

    /**
     * 楼层数
     */
    @Excel(name = "楼层数")
    private String houseFloor;

    /**
     * 栋数
     */
    @Excel(name = "栋数")
    private String houseDoor;

    /**
     * 数量
     */
    @Excel(name = "数量")
    private Long houseNumber;

    /**
     * 获取时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "获取时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date houseGetDate;

    /**
     * 占地面积
     */
    @Excel(name = "占地面积")
    private BigDecimal houseArea;

    /**
     * 产权人
     */
    @Excel(name = "产权人")
    private String houseOwner;

    /**
     * 资产产权号
     */
    @Excel(name = "资产产权号")
    private String houseWarrant;

    /**
     * 类别
     */
    @Excel(name = "类别")
    private String houseCategory;

    /**
     * 经度
     */
    @Excel(name = "经度")
    private String lon;

    /**
     * 纬度
     */
    @Excel(name = "纬度")
    private String lat;

    /**
     * 上级id
     */
    @Excel(name = "上级id")
    private String parentId;

    /**
     * 下级id
     */
    @Excel(name = "下级id")
    private String sonId;

    /**
     * 房屋图片
     */
    @Excel(name = "房屋图片")
    private String houseImg;

    /**
     * 处置类别
     */
    @Excel(name = "处置类别")
    private String houseManage;

    /**
     * 档案编码
     */
    @Excel(name = "档案编码")
    private String houseCode;

    /**
     * 资产产权图片
     */
    @Excel(name = "资产产权图片")
    private String houseWarrantImg;
    @TableLogic
    private Integer status;

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getHouseId() {
        return houseId;
    }

    public void setHouseId(String houseId) {
        this.houseId = houseId;
    }

    public String getParentId() {
        return parentId;
    }

    public void setParentId(String parentId) {
        this.parentId = parentId;
    }

    public String getSonId() {
        return sonId;
    }

    public void setSonId(String sonId) {
        this.sonId = sonId;
    }

    public void setHouseName(String houseName) {
        this.houseName = houseName;
    }

    public String getHouseName() {
        return houseName;
    }

    public void setHousePosition(String housePosition) {
        this.housePosition = housePosition;
    }

    public String getHousePosition() {
        return housePosition;
    }

    public void setHouseSource(String houseSource) {
        this.houseSource = houseSource;
    }

    public String getHouseSource() {
        return houseSource;
    }

    public void setHouseFloor(String houseFloor) {
        this.houseFloor = houseFloor;
    }

    public String getHouseFloor() {
        return houseFloor;
    }

    public void setHouseDoor(String houseDoor) {
        this.houseDoor = houseDoor;
    }

    public String getHouseDoor() {
        return houseDoor;
    }

    public void setHouseNumber(Long houseNumber) {
        this.houseNumber = houseNumber;
    }

    public Long getHouseNumber() {
        return houseNumber;
    }

    public void setHouseGetDate(Date houseGetDate) {
        this.houseGetDate = houseGetDate;
    }

    public Date getHouseGetDate() {
        return houseGetDate;
    }

    public void setHouseArea(BigDecimal houseArea) {
        this.houseArea = houseArea;
    }

    public BigDecimal getHouseArea() {
        return houseArea;
    }

    public void setHouseOwner(String houseOwner) {
        this.houseOwner = houseOwner;
    }

    public String getHouseOwner() {
        return houseOwner;
    }

    public void setHouseWarrant(String houseWarrant) {
        this.houseWarrant = houseWarrant;
    }

    public String getHouseWarrant() {
        return houseWarrant;
    }

    public void setHouseCategory(String houseCategory) {
        this.houseCategory = houseCategory;
    }

    public String getHouseCategory() {
        return houseCategory;
    }

    public void setLon(String lon) {
        this.lon = lon;
    }

    public String getLon() {
        return lon;
    }

    public void setLat(String lat) {
        this.lat = lat;
    }

    public String getLat() {
        return lat;
    }


    public void setHouseImg(String houseImg) {
        this.houseImg = houseImg;
    }

    public String getHouseImg() {
        return houseImg;
    }

    public void setHouseManage(String houseManage) {
        this.houseManage = houseManage;
    }

    public String getHouseManage() {
        return houseManage;
    }

    public void setHouseCode(String houseCode) {
        this.houseCode = houseCode;
    }

    public String getHouseCode() {
        return houseCode;
    }

    public void setHouseWarrantImg(String houseWarrantImg) {
        this.houseWarrantImg = houseWarrantImg;
    }

    public String getHouseWarrantImg() {
        return houseWarrantImg;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("houseId", getHouseId())
                .append("houseName", getHouseName())
                .append("housePosition", getHousePosition())
                .append("houseSource", getHouseSource())
                .append("houseFloor", getHouseFloor())
                .append("houseDoor", getHouseDoor())
                .append("houseNumber", getHouseNumber())
                .append("houseGetDate", getHouseGetDate())
                .append("houseArea", getHouseArea())
                .append("houseOwner", getHouseOwner())
                .append("houseWarrant", getHouseWarrant())
                .append("houseCategory", getHouseCategory())
                .append("lon", getLon())
                .append("lat", getLat())
                .append("parentId", getParentId())
                .append("sonId", getSonId())
                .append("houseImg", getHouseImg())
                .append("houseManage", getHouseManage())
                .append("houseCode", getHouseCode())
                .append("houseWarrantImg", getHouseWarrantImg())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .append("updateTime", getUpdateTime())
                .append("updateBy", getUpdateBy())
                .toString();
    }
}
